import request from "./http";
//搜索
export function getSearch(params){
    return request({
        url:"/search",
        method:"get",
        params
    })
}
//热门搜索
export function getSearchHot(params){
    return request({
        url:"/search/hot",
        method:"get",
        params
    })
}

// 获取歌曲详情
// /song/detail?ids=347230
export function getSongDetail(params){
    return request({
        url:"/song/detail",
        method:"get",
        params
    })

}